package com.casit.base.entity;

import javax.persistence.*;

@MappedSuperclass
public class IdEntity<T> extends BaseEntity<T>  {


    @Id
    @Column(updatable=false)
    protected T id;
    public static char FLAG_NORMAL_ = '5';
    public static char FLAG_DELETE_ = '4';

    public IdEntity() {

    }
    public T getId() {
        return id;
    }

    public void setId(T id) {
        this.id = id;
    }
}
